Skip to content

Dispatch 'collide' event from World in addition to Body#78

Open
ndarilek wants to merge 1 commit intoschteppe:masterfrom
ndarilek:master
Open

Dispatch 'collide' event from World in addition to Body#78
ndarilek wants to merge 1 commit intoschteppe:masterfrom
ndarilek:master

Conversation

@ndarilek
Copy link
Copy Markdown

Sometimes I want to track that two bodies have collided, but not necessarily on the body itself. I'm dispatching a 'collide' event from World in addition, so my entity systems don't get two collision events when generating effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant